package cn.gov.msa.dao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import cn.gov.msa.model.ApplyMaterial;
import cn.gov.msa.model.VSelectMaterial;

public interface ApplyMaterialMapper {
    int deleteByPrimaryKey(String attachmaterialid);

    int deleteByApplyid(String applyid);

    int insert(ApplyMaterial record);

    int insertSelective(ApplyMaterial record);

    ApplyMaterial selectByPrimaryKey(String attachmaterialid);

    int updateByPrimaryKeySelective(ApplyMaterial record);

    int updateByPrimaryKey(ApplyMaterial record);

    List<ApplyMaterial> selectData(ApplyMaterial record);
    
    List<VSelectMaterial> selectMaterialByApplyid(VSelectMaterial record);
    
    List<VSelectMaterial> selectMaterialData(VSelectMaterial record);
    
}